package il.ac.tau.cg.ex3.entities.surfaces;

import il.ac.tau.cg.ex3.entities.styles.Material;
import il.ac.tau.cg.ex3.math.shapes.Box;
import il.ac.tau.cg.ex3.math.shapes.Shape;

public class BoxSurface extends Surface
{
	private Box box;
	
	public BoxSurface(Material material, Box box)
	{
		super(material);
		
		this.box = box;
	}
	
	public void setBox(Box box)
	{
		this.box = box;
	}
	
	public Box getBox()
	{
		return box;
	}

	@Override
	public int getType()
	{
		return SurfaceTypes.BOX;
	}

	@Override
	public Shape getShape()
	{
		return box;
	}
}
